using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace AspWebUtilities.Farm
{
	public class HttpFarmDataModule : IHttpModule
	{
		#region IHttpModule Members

		public void Dispose()
		{

		}

		public void Init(HttpApplication context)
		{
			context.Disposed += new EventHandler(context_Disposed);
			FarmApplication.Application.UnLockAllOwne();
		}

		void context_Disposed(object sender, EventArgs e)
		{
			FarmApplication.Application.UnLockAllOwne();
		}

		#endregion
	}
}
